package com.shz.appletsapi.model.po;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Data
@Entity
@Table(name = "mine_account")
public class MineAccount implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2751574568326959731L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	@Column(name = "status")
	private Integer status;
	@Column(name = "usr_acc")
	private String usr_acc; // 矿池账号
	@Column(name = "usr_pwd")
	private String usr_pwd; // 矿池密码
	@Column(name = "wallet_addr")
	private String wallet_addr; // 接收矿的钱包地址
	@Column(name = "coin_name")
	private String coin_name; // 币的名称，如：rvn,btc,bch
	@Column(name = "coin_pool_url")
	private String coin_pool_url; // 矿池的URL，比如：stratum+tcp://raven.f2pool.com:3636
	@Column(name = "alg_type")
	private String alg_type; // 挖矿算法，比如：x16r;
	@Column(name = "channelId")
	private Integer channelId;
	@Column(name = "create_time")
	private Date create_time;
	@Column(name = "update_time")
	private Date update_time;

}
